﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/TravelIndex.master" CodeBehind="ReportePaquetes.aspx.vb" Inherits="CondorTravel.ReportePaquetes" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>    
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contenidoModulo" runat="server">
    <script>

        var ventana_secundaria;
        var ventana_secundaria2;


    function abrirVentanaPaquete() {
        //la referencia de la ventana es el objeto window del popup. Lo utilizo para acceder al método close
        ventana_secundaria = window.showModalDialog("../Paquetes/BuscarPaquete.aspx", "miventana", "width=350,height=250,menubar=no")
        __doPostBack("MiFuncionPaquete", ""); 
    }  

  </script>
<div id="titulo">Reporte de Paquetes</div> 
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</ajaxToolkit:ToolkitScriptManager>
<form name="frmReporteServicios" method="post">

<table style="WIDTH: 78%" cellspacing="0" cellpadding="0" border="0">
	<tbody>
		<tr class="TRlist3">
			<td colspan="4"><strong><u>Búsqueda de Paquetes</u></strong></td>
		</tr>
        <tr class="TRlist3">
			<td style="WIDTH: 101px">Paquete </td>
			<td colspan="3">
				 &nbsp;<asp:TextBox ID="txtPaquete" runat="server"   Width="209px" 
                     MaxLength="50"></asp:TextBox><img src="../../res/img/search.gif" border="0"  onclick ="abrirVentanaPaquete();"/>
                         
            </td>
        </tr>
		<tr class="TRlist3">
			<td style="WIDTH: 101px">Inicio Vigencia</td>
			<td style="WIDTH: 298px">
                <asp:TextBox ID="txtFecIni" runat="server" MaxLength="10"></asp:TextBox>
                <img id="imgInicio" src="../../res/img/calendar.jpg" style="cursor:pointer"/>
                 <asp:CalendarExtender ID="cle1" TargetControlID="txtFecIni" runat="server" Format="dd/MM/yyyy" 
                  StartDate="01/01/2000" PopupButtonID="imgInicio"></asp:CalendarExtender>            
            </td>
			<td style="width: 64px">Fin Vigencia</td>
            <td style="width: 280px">
               <asp:TextBox ID="txtFecFin" runat="server" MaxLength="10"></asp:TextBox>
               <img id="imgFin" src="../../res/img/calendar.jpg" style="cursor:pointer"/>
                 <asp:CalendarExtender ID="cle2" TargetControlID="txtFecFin" runat="server" Format="dd/MM/yyyy" 
                  StartDate="01/01/2000" PopupButtonID="imgFin">
                </asp:CalendarExtender>               
            </td>
		</tr>	
        <tr class="TRlist3">			
			<td style="HEIGHT: 16px; width: 101px">Estado</td>
            <td style="HEIGHT: 16px" colspan="3"> 
				<asp:DropDownList ID="cboEstado" runat="server" Height="16px" Width="220px">
                </asp:DropDownList>
				
			</td>
		</tr>      
		<tr>
			<td style="WIDTH: 101px; HEIGHT: 30px"></td>
			<td style="HEIGHT: 30px" colspan="2">
                  <asp:Button ID="btnReporte" runat="server" Text="Ver Reporte" Width="94px"  
                      class="graybutton" /></td>
			<td style="HEIGHT: 30px; width: 280px;">
                &nbsp;</td>
			<td style="HEIGHT: 30px">
				&nbsp;</td>
		</tr>        		
	</tbody>
	</table>
        <table>
     <tr><td>
         <iframe style="height: 1200px; width: 983px;" id="iFrm_ReportePqt" src=""
                    frameborder="0" runat="server" scrolling="yes"></iframe></td></tr>
     </table>
     
</form>
</asp:Content>
